<form id="pagerForm" method="post" action="{:U('Checkpro/tree')}"><!--{:U($module_name.'/'.$action_name."?model=".$model)}-->
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<style>

.searchBar ul.searchContent li {width:200px;}

.searchBar label {width:50px;}
</style>
<div class="pageHeader">
	<form rel="pagerForm" method="post" action="{:U('Checkpro/tree')}" onsubmit="return dwzSearch(this, 'dialog');">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					产品ID：<input type="text" class="autoinput" name="id" value="{$id}"/>
					<input type="hidden" name="sfield_name" value="name,alias" />
				</td>
				<td>
					产品名称：<input type="text" class="autoinput" name="name" value="{$name}"/>
					<input type="hidden" name="sfield_name" value="name,alias" />
				</td>
				
				<td>
					产品描述：<input type="text" class="autoinput" name="description" value="{$description}"/>
					<input type="hidden" name="sfield_name" value="name,alias" />
				</td>
				<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th orderfield="leader">ID</th>
				<th orderfield="orgName">名称</th>
				<th orderfield="orgNum">描述</th>
				<th >点击带回</th>
			</tr>
		</thead>
		<tbody>
			<volist name="tree" id="vo">
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['name']}</td>
				<td>{$vo['property_description']}</td>
				<td>
					<a class="btnSelect" href="javascript:$.bringBack({ name:\'{$vo['name']}\', id:\'{$vo['id']}\'})" title="查找带回">选择</a>
				</td>
			</tr>
			</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
				<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
				<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
				<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
				<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}" ></div>
	</div>
</div>
